package itsm.isperp.module.entity.problem;

import itsm.isperp.framework.domain.IBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 实体
 * 
 * @author lizx
 * @date 2014-11-16 15:07
 */
@Entity
@Table(name = "prob_auto_trigger_rule")
public class ProbAutoTriggerRule implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	//
	@Column
	protected String ciCategory;

	//
	@Column
	protected String ciCategoryName;

	//
	@Column
	protected String ciType;

	//
	@Column
	protected String contentsTemplate;

	//
	@Id
	protected String id;

	//
	@Column
	protected String incidentCategory;

	//
	@Column
	protected String incidentCategoryName;

	//
	@Column
	protected String incidentPriority;

	//
	@Column
	protected String incidentSatisfication;

	//
	@Column
	protected String incidentType;

	//
	@Column
	protected Integer occurTimes;

	//
	@Column
	protected Integer timeDistance;

	@Column
	String title;

	@Column
	String titleTemplate;

	@Column
	String incidentTitleType;

	@Column
	String incidentTitleKey;

	@Column
	String incidentFilterSql;

	@Column
	float similarValue;

	public float getSimilarValue() {
		return similarValue;
	}

	public void setSimilarValue(float similarValue) {
		this.similarValue = similarValue;
	}

	public String getIncidentTitleType() {
		return incidentTitleType;
	}

	public void setIncidentTitleType(String incidentTitleType) {
		this.incidentTitleType = incidentTitleType;
	}

	public String getIncidentTitleKey() {
		return incidentTitleKey;
	}

	public void setIncidentTitleKey(String incidentTitleKey) {
		this.incidentTitleKey = incidentTitleKey;
	}

	public String getIncidentFilterSql() {
		return incidentFilterSql;
	}

	public void setIncidentFilterSql(String incidentFilterSql) {
		this.incidentFilterSql = incidentFilterSql;
	}

	public String getTitleTemplate() {
		return titleTemplate;
	}

	public void setTitleTemplate(String titleTemplate) {
		this.titleTemplate = titleTemplate;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCiCategory() {
		return ciCategory;
	}

	public void setCiCategory(String ciCategory) {
		this.ciCategory = ciCategory;
	}

	public String getCiCategoryName() {
		return ciCategoryName;
	}

	public void setCiCategoryName(String ciCategoryName) {
		this.ciCategoryName = ciCategoryName;
	}

	public String getCiType() {
		return ciType;
	}

	public void setCiType(String ciType) {
		this.ciType = ciType;
	}

	public String getContentsTemplate() {
		return contentsTemplate;
	}

	public void setContentsTemplate(String contentsTemplate) {
		this.contentsTemplate = contentsTemplate;
	}

	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public String getIncidentCategory() {
		return incidentCategory;
	}

	public void setIncidentCategory(String incidentCategory) {
		this.incidentCategory = incidentCategory;
	}

	public String getIncidentCategoryName() {
		return incidentCategoryName;
	}

	public void setIncidentCategoryName(String incidentCategoryName) {
		this.incidentCategoryName = incidentCategoryName;
	}

	public String getIncidentPriority() {
		return incidentPriority;
	}

	public void setIncidentPriority(String incidentPriority) {
		this.incidentPriority = incidentPriority;
	}

	public String getIncidentSatisfication() {
		return incidentSatisfication;
	}

	public void setIncidentSatisfication(String incidentSatisfication) {
		this.incidentSatisfication = incidentSatisfication;
	}

	public String getIncidentType() {
		return incidentType;
	}

	public void setIncidentType(String incidentType) {
		this.incidentType = incidentType;
	}

	public Integer getOccurTimes() {
		return occurTimes;
	}

	public void setOccurTimes(Integer occurTimes) {
		this.occurTimes = occurTimes;
	}

	public Integer getTimeDistance() {
		return timeDistance;
	}

	public void setTimeDistance(Integer timeDistance) {
		this.timeDistance = timeDistance;
	}

}
